/**
 * @description 个人中心
 */
import React from 'react';
import EntryBase from "../Common/EntryBase";
import loadable from "commons/loadable";
import RouterNotMatch from "components/RouterNotMatch";
import { HashRouter, Route, Switch, Redirect } from 'react-router-dom';

class App extends EntryBase {
    constructor(props) {
        super(props);
        this.state = {}
    }
    render() {
        return (
            <HashRouter>
                <Switch>
                    <Route path="/AppealList" component={loadable(() => import("./AppealList"))} />
                    <Route path="/Home" component={loadable(() => import("./Home"))} />
                    <Route path="/Feedback" component={loadable(() => import("./Feedback"))} />
                    <Route path="/Settings" component={loadable(() => import("./Settings"))} />
                    <Route path="/sellerCenter" component={loadable(() => import("./sellerCenter"))} />
                    <Route path="/ChangeMobile" component={loadable(() => import("./ChangeMobile"))} />
                    <Route path="*" component={RouterNotMatch} />
                </Switch>
            </HashRouter>
        )
    }
}

export default App;